package com;

/**
 * Description: jvm中可变参数的 测试
 *
 * @Autor: Rolin
 * datetime: 09-08-16:18
 */
public class JvmTest {
    public static void main(String[] args) {
        foo("hello","world","!");
    }

    private static void foo(String... args){
        String [] arrays = args ;
        for (String arg : arrays) {
            System.out.println(arg);
        }
        try {
            Class<?> clazz = Class.forName("com.JvmTest");
            System.out.println(clazz.getClassLoader());
        } catch (ClassNotFoundException e) {
            e.printStackTrace();
        }


    }
}
